package com.y.fund.aacore.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Schema(title="分页参数VO")
public class PagingVo{

	@Schema(title = "第几页, 第一页默认", example = "1")
    private int pg_idx = 1;
	
	@Schema(title = "每页条数，默认20， 最大5000", example = "20")
    private int pg_size =20;

	public PagingVo() {
		super();
	}
	public PagingVo(int pg_idx, int pg_size) {
		super();
		this.pg_size = pg_size;
		this.pg_idx = pg_idx;
	}

}
